#include "hudelement.h"
#include <vgui_controls/Panel.h>

using namespace vgui; 

class C_flagsystem : public CHudElement, public Panel
{
   DECLARE_CLASS_SIMPLE( C_flagsystem, public Panel );
   
   
   public:
  
   C_flagsystem( const char *pElementName );
 
   void MsgFunc_FlagInput2( bf_read &msg ); 
   void VidInit( void );

   
   void OnThink(void);

  
   private:

   int m_nTextureID[6];

   	int m_nMaxflags_ol; // max number of flags to show
    char m_sPath_ol[256];// path for flags (only name of the map)
	int m_iFlagste[6];
	int wide, tall;
	
	
	virtual void Paint();
	void Init(void);
		
 
};
